package com.example.springboot.service;

import com.example.springboot.controller.dto.LoginDTO;
import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.controller.request.LoginRequest;
import com.example.springboot.entity.Slides;
import com.example.springboot.entity.Slides;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISlidesService {
    List<Slides> list();

    PageInfo<Slides> page(BaseRequest baseRequest);

    void save(Slides slides);

    Slides getById(Integer id);

    void update(Slides slides);

    void deleteById(Integer id);

}
